﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;

namespace WebSite.DAL {
    public class ConnectionFactory {

        public static SqlConnection obterConexao() {
            SqlConnection sqlConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["db_SistemaProntuario"].ConnectionString);
            return sqlConnection;
        }
    }
}